package com.example.springbott.service;

import com.example.springbott.bean.MarketRole;
import com.example.springbott.bean.common.BasePageInfo;
import com.example.springbott.bean.common.CommonData;
import com.example.springbott.bean.kerbal.AdminRolePermissionsVo;

public interface adminRoleService {


    CommonData adminRoleOptions();

   CommonData adminRoleList(BasePageInfo basePageInfo, String name);

    MarketRole adminRoleCreate(String desc, String name);

    Integer adminRoleUpdate(MarketRole marketRole);

    Integer adminRoleDelete(MarketRole marketRole);

    AdminRolePermissionsVo adminRolePermissions(Integer roleId);

    Integer adminRolePermissionsGet(String[] permissions, Integer roleId);
}
